

class ArchievesFormEntity {
	List<AchievesFormData> data;

	ArchievesFormEntity({this.data});

	ArchievesFormEntity.fromJson(Map<String, dynamic> json) {
		if (json['data'] != null) {
			data = new List<AchievesFormData>();(json['data'] as List).forEach((v) { data.add(new AchievesFormData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class AchievesFormData {
	String picUrl;
	String name;
	bool isUnlock;
	int formLevel;
	String weaponFormId;
	int levelNeed;
	int addition;

	AchievesFormData({this.picUrl, this.name, this.isUnlock, this.formLevel, this.weaponFormId, this.levelNeed, this.addition});

	AchievesFormData.fromJson(Map<String, dynamic> json) {
		picUrl = json['picUrl'];
		name = json['name'];
		isUnlock = json['isUnlock'];
		formLevel = json['formLevel'];
		weaponFormId = json['weaponFormId'];
		levelNeed = json['levelNeed'];
		addition = json['addition'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['picUrl'] = this.picUrl;
		data['name'] = this.name;
		data['isUnlock'] = this.isUnlock;
		data['formLevel'] = this.formLevel;
		data['weaponFormId'] = this.weaponFormId;
		data['levelNeed'] = this.levelNeed;
		data['addition'] = this.addition;
		return data;
	}
}
